package com.huilian.iotbox.data.po;

import com.huilian.iotbox.data.dto.QueryParam;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class CommodityStockRecordItem extends QueryParam implements Serializable {
    private Long id;
    /**
     * 记录id
     */
    private Long commodityStockRecordId;
    /**
     * 商品id
     */
    private Long commodityId;
    /**
     * 数量
     */
    private Integer quantity;
    /**
     * 成本价
     */
    private BigDecimal costPrice;
    /**
     * 售价
     */
    private BigDecimal retailPrice;
    /**
     * 供应商id
     */
    private Integer commoditySupplierId;
    /**
     * 库存前
     */
    private Integer stockBefore ;
    /**
     * 库存后
     */
    private Integer stockAfter;
    /**
     * 成本价前
     */
    private BigDecimal costPriceBefore;
    /**
     * 成本价后
     */
    private BigDecimal costPriceAfter;
    /**
     * 售价前
     */
    private BigDecimal retailPriceBefore;
    /**
     * 售价后
     */
    private BigDecimal retailPriceAfter;

    private Date createTime;

    private String remark;

    private Integer hierarchy;
    private Integer freightLane;

    private Integer status;

    private Date processingTime;
}
